package com.buba.appointment.service.impl;

import com.buba.appointment.vo.NucleicAcidVo;
import com.buba.pojo.appointment.NucleicAcid;
import com.buba.appointment.mapper.NucleicAcidMapper;
import com.buba.appointment.service.NucleicAcidService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 核酸预约表 服务实现类
 * </p>
 *
 * @author testjava
 * @since 2022-06-09
 */
@Service
public class NucleicAcidServiceImpl extends ServiceImpl<NucleicAcidMapper, NucleicAcid> implements NucleicAcidService {

    @Autowired
    private NucleicAcidMapper nucleicAcidMapper;

    @Override
    public List<NucleicAcidVo> nucleiRecord(Integer id, String begin, String end) {
        return nucleicAcidMapper.nucleiRecord(id , begin , end);
    }

    @Override
    public NucleicAcidVo nucleicById(Integer id) {
        return nucleicAcidMapper.nucleicById(id);
    }

    @Override
    public List<NucleicAcidVo> nucleicResult(Integer id) {
        return nucleicAcidMapper.nucleicResult(id);
    }

    @Override
    public NucleicAcidVo nucleicDetails(Integer id) {
        return nucleicAcidMapper.nucleicDetails(id);
    }

}
